## Our Common Bonds 
## Master Replication File 
## Winter 2021 - 2022 

## This file sets the directory & loads libraries for all chapter analyses 

## Please note that I cannot redistribute:  
## the data in Chapter 1 (NES & other data sets) 
## or the Pew Data in Chapter 4
## Please download those data files directly from the original sources 
## See the relevant chapter files for more details 

## Set working directory to YOUR FILE LOCATION 
setwd("~/Dropbox/Affective Polarization Book Project/Replication Archive")
#setwd("YOUR DIRECTORY LOCATION")

## load relevant libraries 
library(tidyverse) 
library(haven) 
library(readxl)
library(janitor)
library(modelsummary)
library(psych) 
library(car) 
library(tibble) 
library(stargazer)
library(MASS) 
library(estimatr)

